xl: handle empty vnuma configuration
authorWei Liu <wei.liu2@citrix.com>
Fri, 11 Sep 2015 13:50:09 +0000 (14:50 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 11 Sep 2015 15:31:11 +0000 (16:31 +0100)
commitebe3fd9e736dda6cb141abe1241f0c8491125ebc
tree55c001a4080683d36e959e74f28648a10433fe66
parentfa6b5490be0bf2c0d1c17197e9c30af22e0a24e9
xl: handle empty vnuma configuration

When user specifies vnuma = [], we need to skip the whole parser
function, otherwise the parser sets b_info->max_memkb to garbage value.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/xl_cmdimpl.c